﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using JJY.DBUtility;
using ET.Utility;

namespace ET.DbUtility
{
    public class EtSqlEntityHelper<T> : SQLEntityHelper<T> where T : class
    {
        public static T GetEntity(string sql)
        {
            return GetEntity(ConfigManager.ConnectionString, sql);
        }

        public static List<T> GetEntitySet(string sql)
        {
            return GetEntitySet(ConfigManager.ConnectionString,sql);
        }

    }
}
